public class Test {
    public static void main(String[] args) {
        Sloution sloution = new Sloution();
        int[] nums = {1,2,3,4,5,6,7};
        int k = 3;
        nums = sloution.rotate(nums,k);
        sloution.print(nums);
    }
}
